function a0_0x2ed0() {
    const _0x1699d4 = ['1384495rBauIZ', 'AES', '728406PpIePB', '2426896WvQHbk', 'length', '5016vMtgzk', 'enc', 'Utf8', 'now', 'toString', 'slice', '1344280iJJkIW', '502761avPdfZ', 'decrypt', 'parse', 'stringify', '20IGGhrG', '517700IgTvYD', 'Base64', 'encrypt', 'floor', 'abcdefghijklmnopqrstuvwxyz'];
    a0_0x2ed0 = function () {
        return _0x1699d4;
    };
    return a0_0x2ed0();
}

(function (_0x34e073, _0x5a42c2) {
    const _0x481010 = a0_0x2b53, _0x10fb4e = _0x34e073();
    while (!![]) {
        try {
            const _0x3e2e56 = parseInt(_0x481010(0x9a)) / 0x1 + -parseInt(_0x481010(0x88)) / 0x2 * (parseInt(_0x481010(0x93)) / 0x3) + -parseInt(_0x481010(0x99)) / 0x4 + -parseInt(_0x481010(0x89)) / 0x5 + parseInt(_0x481010(0x90)) / 0x6 + -parseInt(_0x481010(0x8e)) / 0x7 + parseInt(_0x481010(0x91)) / 0x8;
            if (_0x3e2e56 === _0x5a42c2) break; else _0x10fb4e['push'](_0x10fb4e['shift']());
        } catch (_0x242de9) {
            _0x10fb4e['push'](_0x10fb4e['shift']());
        }
    }
}(a0_0x2ed0, 0x42c01));
import a0_0x3d512f from 'crypto-js';

export function extractKeyFromTimestamp(_0x28ae18) {
    const _0x364cf2 = a0_0x2b53, _0x234046 = _0x364cf2(0x8d);
    let _0x3c1563 = Date[_0x364cf2(0x96)]()[_0x364cf2(0x97)](), _0x4e6fe2;
    if (_0x28ae18) _0x4e6fe2 = _0x28ae18['toString'](); else {
        const _0xdd2218 = Math[_0x364cf2(0x8c)](parseInt(_0x3c1563, 0xa) / 3.1415926)[_0x364cf2(0x97)]();
        _0x4e6fe2 = _0xdd2218['padEnd'](0x6, '0')[_0x364cf2(0x98)](-0x6);
    }
    let _0x4e7925 = '';
    for (let _0x1138d4 = 0x0; _0x1138d4 < _0x4e6fe2[_0x364cf2(0x92)]; _0x1138d4++) {
        const _0x4942be = parseInt(_0x4e6fe2[_0x1138d4], 0xa) % 0x1a;
        _0x4e7925 += _0x234046[_0x4942be];
    }
    while (_0x4e7925[_0x364cf2(0x92)] < 0x10) {
        _0x4e7925 += _0x4e7925;
    }
    return _0x4e7925 = _0x4e7925[_0x364cf2(0x98)](0x0, 0x10), {'key': _0x4e7925, 'timestamp': _0x4e6fe2};
}

function a0_0x2b53(_0x5c6b99, _0x3f793c) {
    const _0x2ed0d1 = a0_0x2ed0();
    return a0_0x2b53 = function (_0x2b534c, _0x7237db) {
        _0x2b534c = _0x2b534c - 0x85;
        let _0x192627 = _0x2ed0d1[_0x2b534c];
        return _0x192627;
    }, a0_0x2b53(_0x5c6b99, _0x3f793c);
}

export function encryptData(_0x500d18, _0x22567e) {
    const _0x1e7540 = a0_0x2b53, _0x5504eb = JSON[_0x1e7540(0x87)](_0x500d18),
        _0x29188d = a0_0x3d512f[_0x1e7540(0x94)][_0x1e7540(0x8a)][_0x1e7540(0x87)](a0_0x3d512f[_0x1e7540(0x94)]['Utf8'][_0x1e7540(0x86)](_0x5504eb)),
        _0x5a57bb = a0_0x3d512f[_0x1e7540(0x8f)][_0x1e7540(0x8b)](_0x29188d, _0x22567e)[_0x1e7540(0x97)]();
    return {'encrypted': _0x5a57bb};
}

export function decryptData(_0x8e3268, _0x699650) {
    const _0x7b49d5 = a0_0x2b53, _0x150d5d = a0_0x3d512f[_0x7b49d5(0x8f)][_0x7b49d5(0x85)](_0x8e3268, _0x699650),
        _0x25e835 = _0x150d5d[_0x7b49d5(0x97)](a0_0x3d512f[_0x7b49d5(0x94)]['Utf8']),
        _0x28d5aa = a0_0x3d512f[_0x7b49d5(0x94)][_0x7b49d5(0x8a)][_0x7b49d5(0x86)](_0x25e835)[_0x7b49d5(0x97)](a0_0x3d512f[_0x7b49d5(0x94)][_0x7b49d5(0x95)]);
    try {
        return JSON['parse'](_0x28d5aa);
    } catch (_0x546f1e) {
        return {};
    }
}